package com.lh.createData.service.Impl;

import com.lh.createData.dao.ColMapper;
import com.lh.createData.model.ColModel;
import com.lh.createData.service.ColService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-12 18:15
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class ColServiceImpl implements ColService {
    @Autowired
    ColMapper colMapper;
    /**
     * 得到单位菜单值
     *
     * @param id 菜单功能ID
     * @return 一个菜单值
     */
    @Override
    public ColModel selectColById(String id) {
        return colMapper.selectColById(id);
    }
}